package com.jiulong.dao;

import com.jiulong.model.TOrdership;
import com.jiulong.model.TOrdershipExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TOrdershipMapper {
    long countByExample(TOrdershipExample example);

    int deleteByExample(TOrdershipExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TOrdership record);

    int insertSelective(TOrdership record);

    List<TOrdership> selectByExample(TOrdershipExample example);

    TOrdership selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TOrdership record, @Param("example") TOrdershipExample example);

    int updateByExample(@Param("record") TOrdership record, @Param("example") TOrdershipExample example);

    int updateByPrimaryKeySelective(TOrdership record);

    int updateByPrimaryKey(TOrdership record);
}